package cn.tedu._05mvcboot03.mapper;

import cn.tedu._05mvcboot03.pojo.entity.Article;
import cn.tedu._05mvcboot03.pojo.vo.AirticleVO;
import cn.tedu._05mvcboot03.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserMapper {
    UserVO selectUser(@Param("username") String username,
                      @Param("password") String password);

    int insert(Article article);

    AirticleVO selectByArticleId(Long id);
}
